from langchain_community.utilities import BingSearchAPIWrapper
from langchain_community.utilities.bing_search import BingSearchAPIWrapper
from langchain_core.tools import Tool
import os

os.environ["BING_SUBSCRIPTION_KEY"] = "dec0d521f909441484877131fb8afe60"
os.environ["BING_SEARCH_URL"] = "https://api.bing.microsoft.com/v7.0/search"
search = BingSearchAPIWrapper()

print(search.results("美的空调安装全部费用是多少？？", 5))
